import request from '@/router/axios'

export function receiveApplyFetchList(query) {
  return request({
    url: '/eims/inventoryApply/page',
    method: 'get',
    params: query
  })
}

export function receiveApplyAddObj(obj) {
  return request({
    url: '/eims/inventoryApply',
    method: 'post',
    data: obj
  })
}

export function receiveApplyGetObj(id) {
  return request({
    url: '/eims/inventoryApply/' + id,
    method: 'get'
  })
}

export function receiveApplyDelObj(id) {
  return request({
    url: '/eims/inventoryApply/' + id,
    method: 'delete'
  })
}

export function receiveApplyPutObj(obj) {
  return request({
    url: '/eims/inventoryApply',
    method: 'put',
    data: obj
  })
}
